package org.celery.modules.shop.service.impl;

import org.celery.modules.shop.entity.ShopDept;
import org.celery.modules.shop.vo.ShopDeptVO;
import org.celery.modules.shop.mapper.ShopDeptMapper;
import org.celery.modules.shop.service.IShopDeptService;
import org.springblade.core.mp.base.BaseServiceImpl;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.core.metadata.IPage;

/**
 * 店铺部门关联表 服务实现类
 *
 * @author Celery
 * @since 2023-09-12
 */
@Service
public class ShopDeptServiceImpl extends BaseServiceImpl<ShopDeptMapper, ShopDept> implements IShopDeptService {

	@Override
	public IPage<ShopDeptVO> selectShopDeptPage(IPage<ShopDeptVO> page, ShopDeptVO shopDept) {
		return page.setRecords(baseMapper.selectShopDeptPage(page, shopDept));
	}

}
